package com.jingdianjichi.subject.domain.convert;

import com.jingdianjichi.subject.domain.entity.*;
import com.jingdianjichi.subject.infra.basic.entity.SubjectCategory;
import com.jingdianjichi.subject.infra.basic.entity.SubjectInfo;
import com.jingdianjichi.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * ClassName :RadioSubjectConverter
 * Package :com.jingdianjichi.subject.domain.convert
 * Desciption :
 *
 * @Author :
 * @Create : 18:56
 * @Version :1.0
 */

@Mapper
public interface RadioSubjectConverter {

    RadioSubjectConverter INSTANCE = Mappers.getMapper(RadioSubjectConverter.class);

    SubjectRadio convertOptionsToEntity(SubjectAnswerBO subjectAnswerBO);


    List<SubjectAnswerBO> convertEntitysToAnswersBO(List<SubjectRadio> subjectRadios);
}
